package com.jingdianjichi.subject.application.convert;

import com.jingdianjichi.subject.application.dto.SubjectLabelDTO;
import com.jingdianjichi.subject.domain.entity.SubjectLabelBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * SubjectLabelDTOConverter 类
 *
 * @author 熊苏鹏1
 * @date 2025/2/14 20:44
 * @description 标签Converter
 */
@Mapper
public interface SubjectLabelDTOConverter {
    SubjectLabelDTOConverter INSTANCE = Mappers.getMapper(SubjectLabelDTOConverter.class);
    SubjectLabelBO convertDTOToBo(SubjectLabelDTO subjectLabelDTO);
    List<SubjectLabelDTO> convertBoToDtoList(List<SubjectLabelBO> subjectLabelBOList);
}
